package com.xqboss.apps.dto.nft;

import com.xqboss.apps.enums.nft.NftNumberGrantStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;

/**
 * @author Administrator
 */
@Data
public class NftNumberDto {

    @ApiModelProperty("藏品id")
    private Long nftId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty(value = "状态 0未售,1已售,2已回收")
    private NftNumberGrantStatusEnum isGrant;

    @ApiModelProperty("搜索关键字")
    private String keyword;

    @ApiModelProperty("数量排序字段(null升序, 1降序)")
    private Integer count;

    @ApiModelProperty(value = "当前页", example = "1")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "每页记录数", example = "1000")
    @Max(value = 1000, message = "最大支持每页1000条")
    private Integer pageSize = 1000;

}
